package com.shcowin.dao;

import java.util.List;

import org.springframework.dao.DataAccessException;

import com.shcowin.entity.Account;
 
 
public interface AccountDao {
 
    public boolean addAccount(Account entity) throws DataAccessException;
 
    public Account getAccount(Integer id) throws DataAccessException;
  
    public Account getByUsername(String username) throws DataAccessException;
    
    
    public List getList() throws DataAccessException;
}
